import helper from "@/components/form/ui/helper.js";

export default {
    tag: "el-checkbox-group",
    name: "复选框",
    __openRules: false,
    tagIcon: 'checkbox',
    __ID: '',
    defaultvalue: [1, 2],

    formItem: {
        showLabel: helper.input_boolean("显示 label", true),
        labelWidth: helper.input_number("label 宽", 100),
        label: helper.input_text("label", '单选框',),
    },
    attrs: {
        fieldName: helper.input_text("字段名", '字段名'),
        disabled: helper.input_boolean("是否禁用", false),
        border: helper.input_boolean("占位字符", true),

        size: helper.input_radio("尺寸", [{
            key: "medium",
            value: "中等"
        }, {
            key: "small",
            value: "较小"
        }, {
            key: "mini",
            value: "迷你"
        }], "medium"),

    },

    __opt__: helper.input_opt("选择项", 'el-checkbox-button'),
    props: {


    },
    childrens:[],
    ctrlBtn: true,

}